<p-sidebar [(visible)]="sidebarVisible"
  position="right"
  (onHide)="onSidebarHide()"
  #sidebarProps>
  <div class="card p-fluid"
    *ngIf="scenario">
    <h5 [title]="scenario.Id">场景设置</h5>
    <div class="field grid">
      <label class="col-12 mb-2 md:col-2 md:mb-0">名称</label>
      <div class="col-12 md:col-10">
        <input type="text"
          pInputText
          class="w-full p-inputtext-sm"
          placeholder="名称"
          [(ngModel)]="scenario.Name" />
      </div>
    </div>
  </div>
</p-sidebar>